package com.nave.princesslife.header;

import android.content.Context;
import android.graphics.BitmapFactory;

import com.nave.princesslife.R;
import com.nave.princesslife.main.GameObject;

public class TopBar extends GameObject {

	private static TopBar instance;

	private TopBar() {
	};

	public static TopBar getInstance() {

		if (instance == null)
			instance = new TopBar();

		return instance;
	}

	public void setup(Context context, int w, int h) {

		// Coletar a imagem na pasta res/drawable
		bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.mainscreen_topbar);

		super.setup(w, h, 0f, 0f);
	}

}
